from flask import Blueprint
from flask_restx import Api
from . import webhook


WebhookBluPrint = Blueprint(
    "webhook", __name__, url_prefix="/v1/webhook"
)

webhook_manager = Api(WebhookBluPrint)


# 云服务回调接口
webhook_manager.add_resource(
    webhook.WebHook, "/receive_async"
)